package storage

import (
	"github.com/tokentransfer/node/core"
)

type chunkOffset struct {
	key     core.Key
	nextPos int64
}

type chunkEntry struct {
	name   string
	data   []byte
	chunks []chunkOffset
	refs   int
}

type Disposable interface {
	Dispose()
}

type chunkItem struct {
	name  string
	key   core.Key
	group bool
}
